package com.liu.AllAnnotation;

import org.springframework.stereotype.Component;

@Component(value = "PersonImpl")
public class PersonImpl implements Person {

    public void add() {
        System.out.println("执行add");
    }
    public void del() {
        System.out.println("执行del");
    }

}
